# coding:utf-8
module Admin::TrafficStrategiesHelper
  def beauti_traffics traffic_count_by_byte, uom
    if traffic_count_by_byte == -1
      return "不限" 
    else
      [traffic_count_by_byte.to_s, uom].join(' ')
    end
  end
end